package com.education.platform.api.vo.response;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import java.util.List;

/**
* describe: 课程
* @author : tomato
* @date: 2020-06-17 12:17:33.797
**/
@ApiModel
@Getter
@Setter
@ToString
public class CourseResponseVO {

    /**
     * 主键
     */
    @ApiModelProperty("主键")
    private Integer id;

    /**
     * 课程名称
     */
    @ApiModelProperty("课程名称")
    private String courseName;

    /**
     * 年级编码
     */
    @ApiModelProperty("年级编码")
    private String gradeCode;

    /**
     * 年级名称
     */
    @ApiModelProperty("年级名称")
    private String gradeName;

    /**
     * 封面图片
     */
    @ApiModelProperty("封面图片")
    private String courseImage;

    /**
     * 描述
     */
    @ApiModelProperty("描述")
    private String description;

    /**
     * 时长（秒）
     */
    @ApiModelProperty("时长（秒）")
    private Integer length;

    /**
     * 观看次数
     */
    @ApiModelProperty("观看次数")
    private Integer viewsNumber;
    @ApiModelProperty("课程标签")
    private List<String> tags;
    @ApiModelProperty(value = "课程标签",hidden = true)
    private String subjectTypeName;

    @ApiModelProperty("作者")
    private String courseTeacherName;
    @ApiModelProperty(value = "1=视频  2=文章")
    private Integer fileType;
    @ApiModelProperty(value = "当fileType=2 时，为文章id，=1 时为null")
    private Integer detailId;
    @ApiModelProperty(value = "是否推荐")
    private Boolean recommend;
    @ApiModelProperty(value = "是否已拥有")
    private Boolean own;


    @ApiModelProperty(value = "豆子价格")
    private Float price;
}